.class public Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;
.super Lcom/estrongs/android/ui/base/HomeAsBackActivity;
.source "FileTransferReceiveActivity.java"

# interfaces
.implements Les/x00$b;


# instance fields
.field private j:Les/x00;

.field private k:Landroid/widget/TextView;

.field private l:Landroid/widget/TextView;

.field private m:Landroid/widget/TextView;

.field private n:Lcom/estrongs/android/pop/app/filetransfer/p;

.field private o:Ljava/lang/String;

.field private p:Z

.field private q:Landroid/view/View;

.field private r:Landroid/net/wifi/WifiManager;

.field private s:Landroid/net/wifi/WifiInfo;

.field private t:Z

.field private u:Z

.field private v:Landroid/net/wifi/WifiConfiguration;

.field private w:Landroid/graphics/drawable/Drawable;

.field x:Lcom/estrongs/android/pop/l;

.field y:Lcom/estrongs/android/pop/app/filetransfer/RippleView;

.field private z:Z


# direct methods
.method public constructor <init>()V
    .locals 1

    .line 1
    invoke-direct {p0}, Lcom/estrongs/android/ui/base/HomeAsBackActivity;-><init>()V

    const/4 v0, 0x0

    .line 2
    iput-boolean v0, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->p:Z

    return-void
.end method

.method private F()V
    .locals 2

    .line 1
    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v1, 0x1a

    if-lt v0, v1, :cond_0

    goto :goto_0

    .line 2
    :cond_0
    invoke-static {p0}, Lcom/permission/runtime/f;->c(Landroid/content/Context;)Z

    move-result v0

    if-nez v0, :cond_1

    .line 3
    invoke-static {p0}, Lcom/permission/runtime/e$a;->a(Landroid/content/Context;)Lcom/permission/runtime/e$a;

    move-result-object v0

    const-string v1, "android.permission.WRITE_SETTINGS"

    .line 4
    invoke-virtual {v0, v1}, Lcom/permission/runtime/e$a;->a(Ljava/lang/String;)Lcom/permission/runtime/e$a;

    new-instance v1, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity$b;

    invoke-direct {v1, p0}, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity$b;-><init>(Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;)V

    .line 5
    invoke-virtual {v0, v1}, Lcom/permission/runtime/e$a;->a(Lcom/permission/runtime/c;)V

    return-void

    .line 6
    :cond_1
    :goto_0
    new-instance v0, Landroid/net/wifi/WifiConfiguration;

    invoke-direct {v0}, Landroid/net/wifi/WifiConfiguration;-><init>()V

    .line 7
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->H()Ljava/lang/String;

    move-result-object v1

    iput-object v1, v0, Landroid/net/wifi/WifiConfiguration;->SSID:Ljava/lang/String;

    .line 8
    iget-object v1, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->j:Les/x00;

    invoke-virtual {v1, v0}, Les/x00;->a(Landroid/net/wifi/WifiConfiguration;)Z

    return-void
.end method

.method private G()Landroid/text/SpannableStringBuilder;
    .locals 5

    .line 1
    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v1, 0x19

    if-lt v0, v1, :cond_0

    .line 2
    new-instance v0, Landroid/text/style/ForegroundColorSpan;

    invoke-virtual {p0}, Lcom/estrongs/android/pop/esclasses/ESActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    const v2, 0x7f0600e9

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getColor(I)I

    move-result v1

    invoke-direct {v0, v1}, Landroid/text/style/ForegroundColorSpan;-><init>(I)V

    const v1, 0x7f1109ff

    .line 3
    invoke-virtual {p0, v1}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v1

    goto :goto_0

    .line 4
    :cond_0
    new-instance v0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity$a;

    invoke-direct {v0, p0}, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity$a;-><init>(Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;)V

    const v1, 0x7f110a00

    .line 5
    invoke-virtual {p0, v1}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v1

    .line 6
    :goto_0
    new-instance v2, Landroid/text/SpannableStringBuilder;

    const v3, 0x7f1109fe

    invoke-virtual {p0, v3}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, v3}, Landroid/text/SpannableStringBuilder;-><init>(Ljava/lang/CharSequence;)V

    .line 7
    invoke-virtual {v2}, Landroid/text/SpannableStringBuilder;->length()I

    move-result v3

    .line 8
    invoke-virtual {v2, v1}, Landroid/text/SpannableStringBuilder;->append(Ljava/lang/CharSequence;)Landroid/text/SpannableStringBuilder;

    .line 9
    invoke-virtual {v2}, Landroid/text/SpannableStringBuilder;->length()I

    move-result v1

    const/16 v4, 0x21

    .line 10
    invoke-virtual {v2, v0, v3, v1, v4}, Landroid/text/SpannableStringBuilder;->setSpan(Ljava/lang/Object;III)V

    return-object v2
.end method

.method private H()Ljava/lang/String;
    .locals 8

    const/4 v0, 0x0

    .line 1
    :try_start_0
    iget-object v1, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->x:Lcom/estrongs/android/pop/l;

    invoke-virtual {v1}, Lcom/estrongs/android/pop/l;->n0()Ljava/lang/String;

    move-result-object v1

    .line 2
    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    const/4 v3, 0x2

    if-nez v2, :cond_0

    goto :goto_0

    :cond_0
    const-string v1, "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"

    .line 3
    invoke-static {}, Ljava/lang/Math;->random()D

    move-result-wide v4
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_1

    const/16 v2, 0x3e

    int-to-double v6, v2

    invoke-static {v6, v7}, Ljava/lang/Double;->isNaN(D)Z

    mul-double v4, v4, v6

    double-to-int v2, v4

    .line 4
    :try_start_1
    invoke-virtual {v1, v2}, Ljava/lang/String;->charAt(I)C

    move-result v2

    .line 5
    invoke-static {}, Ljava/lang/Math;->random()D

    move-result-wide v4
    :try_end_1
    .catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1

    invoke-static {v6, v7}, Ljava/lang/Double;->isNaN(D)Z

    mul-double v4, v4, v6

    double-to-int v4, v4

    .line 6
    :try_start_2
    invoke-virtual {v1, v4}, Ljava/lang/String;->charAt(I)C

    move-result v1

    .line 7
    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    const-string v5, "-"

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v4, v2}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;

    invoke-virtual {v4, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1
    :try_end_2
    .catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_1

    .line 8
    :try_start_3
    invoke-virtual {v1}, Ljava/lang/String;->getBytes()[B

    move-result-object v2

    invoke-static {v2, v3}, Landroid/util/Base64;->encodeToString([BI)Ljava/lang/String;

    move-result-object v1

    .line 9
    iget-object v2, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->x:Lcom/estrongs/android/pop/l;

    invoke-virtual {v2, v1}, Lcom/estrongs/android/pop/l;->e0(Ljava/lang/String;)V

    .line 10
    :goto_0
    iget-object v2, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->o:Ljava/lang/String;

    invoke-virtual {v2}, Ljava/lang/String;->getBytes()[B

    move-result-object v2

    invoke-static {v2, v3}, Landroid/util/Base64;->encodeToString([BI)Ljava/lang/String;

    move-result-object v0
    :try_end_3
    .catch Ljava/lang/Exception; {:try_start_3 .. :try_end_3} :catch_0

    goto :goto_2

    :catch_0
    move-exception v2

    goto :goto_1

    :catch_1
    move-exception v2

    move-object v1, v0

    .line 11
    :goto_1
    invoke-virtual {v2}, Ljava/lang/Exception;->printStackTrace()V

    .line 12
    :goto_2
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v1, "_"

    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method private I()Ljava/lang/String;
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->r:Landroid/net/wifi/WifiManager;

    const-string v1, ""

    if-nez v0, :cond_0

    return-object v1

    .line 2
    :cond_0
    invoke-virtual {v0}, Landroid/net/wifi/WifiManager;->getConnectionInfo()Landroid/net/wifi/WifiInfo;

    move-result-object v0

    if-eqz v0, :cond_1

    .line 3
    invoke-virtual {v0}, Landroid/net/wifi/WifiInfo;->getSSID()Ljava/lang/String;

    move-result-object v0

    return-object v0

    :cond_1
    return-object v1
.end method

.method private J()V
    .locals 3

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->x:Lcom/estrongs/android/pop/l;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/l;->p0()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->o:Ljava/lang/String;

    .line 2
    iget-object v1, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->l:Landroid/widget/TextView;

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 3
    iget-boolean v0, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->z:Z

    if-eqz v0, :cond_0

    .line 4
    iget-object v0, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->o:Ljava/lang/String;

    invoke-static {p0, v0}, Lcom/estrongs/android/pop/app/filetransfer/m;->b(Landroidx/fragment/app/FragmentActivity;Ljava/lang/String;)V

    goto/16 :goto_1

    .line 5
    :cond_0
    invoke-virtual {p0}, Landroid/app/Activity;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    const-string v1, "wifi"

    invoke-virtual {v0, v1}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/net/wifi/WifiManager;

    iput-object v0, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->r:Landroid/net/wifi/WifiManager;

    .line 6
    new-instance v0, Les/x00;

    invoke-direct {v0, p0, p0}, Les/x00;-><init>(Landroid/content/Context;Les/x00$b;)V

    iput-object v0, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->j:Les/x00;

    .line 7
    invoke-virtual {v0}, Les/x00;->d()V

    .line 8
    iget-object v0, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->x:Lcom/estrongs/android/pop/l;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/l;->s0()Z

    move-result v0

    iput-boolean v0, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->p:Z

    if-eqz v0, :cond_1

    .line 9
    iget-object v0, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->j:Les/x00;

    invoke-virtual {v0}, Les/x00;->a()V

    .line 10
    new-instance v0, Lcom/estrongs/android/pop/app/filetransfer/p;

    invoke-direct {v0}, Lcom/estrongs/android/pop/app/filetransfer/p;-><init>()V

    iput-object v0, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->n:Lcom/estrongs/android/pop/app/filetransfer/p;

    .line 11
    iget-object v1, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->o:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/estrongs/android/pop/app/filetransfer/p;->a(Ljava/lang/String;)V

    .line 12
    iget-object v0, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->k:Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const v2, 0x7f1109cd

    invoke-virtual {p0, v2}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-direct {p0}, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->I()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 13
    iget-object v0, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->m:Landroid/widget/TextView;

    invoke-direct {p0}, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->G()Landroid/text/SpannableStringBuilder;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 14
    iget-object v0, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->m:Landroid/widget/TextView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setHighlightColor(I)V

    .line 15
    iget-object v0, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->m:Landroid/widget/TextView;

    invoke-static {}, Landroid/text/method/LinkMovementMethod;->getInstance()Landroid/text/method/MovementMethod;

    move-result-object v2

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setMovementMethod(Landroid/text/method/MovementMethod;)V

    .line 16
    iget-object v0, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->m:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    goto :goto_1

    .line 17
    :cond_1
    invoke-static {}, Lcom/estrongs/android/util/q;->f()Z

    move-result v0

    iput-boolean v0, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->u:Z

    .line 18
    invoke-static {}, Lcom/estrongs/android/util/q;->d()Landroid/net/wifi/WifiConfiguration;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->v:Landroid/net/wifi/WifiConfiguration;

    .line 19
    iget-boolean v0, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->u:Z

    if-eqz v0, :cond_2

    .line 20
    invoke-static {}, Lcom/estrongs/android/util/q;->a()V

    goto :goto_0

    .line 21
    :cond_2
    iget-object v0, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->r:Landroid/net/wifi/WifiManager;

    invoke-virtual {v0}, Landroid/net/wifi/WifiManager;->isWifiEnabled()Z

    move-result v0

    iput-boolean v0, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->t:Z

    if-eqz v0, :cond_3

    .line 22
    iget-object v0, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->r:Landroid/net/wifi/WifiManager;

    invoke-virtual {v0}, Landroid/net/wifi/WifiManager;->getConnectionInfo()Landroid/net/wifi/WifiInfo;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->s:Landroid/net/wifi/WifiInfo;

    .line 23
    :cond_3
    :goto_0
    iget-object v0, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->m:Landroid/widget/TextView;

    const/4 v1, 0x4

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    .line 24
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->F()V

    :goto_1
    return-void
.end method

.method private K()V
    .locals 3

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->j:Les/x00;

    if-eqz v0, :cond_0

    .line 2
    invoke-virtual {v0}, Les/x00;->c()V

    .line 3
    :cond_0
    invoke-static {}, Lcom/estrongs/android/util/q;->a()V

    .line 4
    iget-boolean v0, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->t:Z

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->r:Landroid/net/wifi/WifiManager;

    if-eqz v0, :cond_1

    const/4 v1, 0x1

    .line 5
    invoke-virtual {v0, v1}, Landroid/net/wifi/WifiManager;->setWifiEnabled(Z)Z

    .line 6
    iget-object v0, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->s:Landroid/net/wifi/WifiInfo;

    if-eqz v0, :cond_1

    .line 7
    iget-object v2, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->r:Landroid/net/wifi/WifiManager;

    invoke-virtual {v0}, Landroid/net/wifi/WifiInfo;->getNetworkId()I

    move-result v0

    invoke-virtual {v2, v0, v1}, Landroid/net/wifi/WifiManager;->enableNetwork(IZ)Z

    .line 8
    :cond_1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->v:Landroid/net/wifi/WifiConfiguration;

    if-eqz v0, :cond_3

    .line 9
    iget-boolean v1, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->u:Z

    if-eqz v1, :cond_2

    iget-object v1, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->j:Les/x00;

    if-eqz v1, :cond_2

    .line 10
    invoke-virtual {v1, v0}, Les/x00;->a(Landroid/net/wifi/WifiConfiguration;)Z

    goto :goto_0

    .line 11
    :cond_2
    iget-object v0, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->v:Landroid/net/wifi/WifiConfiguration;

    invoke-static {v0}, Lcom/estrongs/android/util/q;->a(Landroid/net/wifi/WifiConfiguration;)V

    :cond_3
    :goto_0
    return-void
.end method

.method private L()V
    .locals 5

    .line 1
    new-instance v0, Lcom/estrongs/android/ui/dialog/q;

    invoke-direct {v0, p0}, Lcom/estrongs/android/ui/dialog/q;-><init>(Landroid/content/Context;)V

    const v1, 0x7f0c0170

    .line 2
    invoke-virtual {v0, v1}, Lcom/estrongs/android/ui/dialog/q;->setContentView(I)V

    const v1, 0x7f090cc9

    .line 3
    invoke-virtual {v0, v1}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    const v2, 0x7f090994

    .line 4
    invoke-virtual {v0, v2}, Landroid/app/Dialog;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroidx/appcompat/widget/AppCompatCheckBox;

    .line 5
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    const-string v4, "<a href=\"ss\">"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v4, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->x:Lcom/estrongs/android/pop/l;

    invoke-virtual {v4}, Lcom/estrongs/android/pop/l;->q0()Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v4, "</a>"

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-static {v3}, Landroid/text/Html;->fromHtml(Ljava/lang/String;)Landroid/text/Spanned;

    move-result-object v3

    invoke-virtual {v1, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 6
    new-instance v3, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity$c;

    invoke-direct {v3, p0, v1}, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity$c;-><init>(Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;Landroid/widget/TextView;)V

    invoke-virtual {v1, v3}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v3, 0x7f1109d1

    .line 7
    invoke-virtual {p0, v3}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v0, v3}, Lcom/estrongs/android/ui/dialog/q;->setTitle(Ljava/lang/CharSequence;)V

    const v3, 0x7f1102a2

    .line 8
    invoke-virtual {p0, v3}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v3

    new-instance v4, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity$d;

    invoke-direct {v4, p0, v1, v2}, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity$d;-><init>(Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;Landroid/widget/TextView;Landroidx/appcompat/widget/AppCompatCheckBox;)V

    invoke-virtual {v0, v3, v4}, Lcom/estrongs/android/ui/dialog/q;->setConfirmButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/widget/Button;

    const v1, 0x7f11029d

    .line 9
    invoke-virtual {p0, v1}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Lcom/estrongs/android/ui/dialog/q;->setCancelButton(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Landroid/widget/Button;

    .line 10
    invoke-virtual {v0}, Lcom/estrongs/android/ui/dialog/q;->show()V

    .line 11
    new-instance v1, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity$e;

    invoke-direct {v1, p0}, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity$e;-><init>(Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;)V

    invoke-virtual {v0, v1}, Landroid/app/Dialog;->setOnDismissListener(Landroid/content/DialogInterface$OnDismissListener;)V

    return-void
.end method

.method private a(Landroid/widget/TextView;)V
    .locals 4

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->x:Lcom/estrongs/android/pop/l;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/l;->k1()Z

    move-result v0

    .line 4
    new-instance v1, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity$f;

    invoke-direct {v1, p0, v0}, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity$f;-><init>(Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;Z)V

    .line 5
    sget-boolean v0, Lcom/estrongs/android/pop/j;->n:Z

    if-eqz v0, :cond_0

    const/4 v0, -0x2

    goto :goto_0

    :cond_0
    const/4 v0, -0x1

    .line 6
    :goto_0
    new-instance v2, Lcom/estrongs/android/widget/c;

    .line 7
    invoke-static {}, Lcom/estrongs/android/pop/c;->b()Ljava/lang/String;

    move-result-object v3

    invoke-direct {v2, p0, v3, v1, v0}, Lcom/estrongs/android/widget/c;-><init>(Landroid/content/Context;Ljava/lang/String;Lcom/estrongs/fs/h;I)V

    const/4 v1, 0x0

    .line 8
    invoke-virtual {v2, v1}, Lcom/estrongs/android/widget/c;->a(Z)V

    const/4 v1, 0x1

    .line 9
    invoke-virtual {v2, v1}, Lcom/estrongs/android/widget/c;->b(Z)V

    const v1, 0x7f110299

    .line 10
    invoke-virtual {p0, v1}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v1

    const/4 v3, 0x0

    invoke-virtual {v2, v1, v3}, Lcom/estrongs/android/widget/c;->a(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)V

    .line 11
    invoke-virtual {v2, v0}, Lcom/estrongs/android/widget/c;->a(I)V

    const v0, 0x7f1102e1

    .line 12
    invoke-virtual {p0, v0}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v2, v0}, Lcom/estrongs/android/widget/c;->a(Ljava/lang/CharSequence;)V

    const v0, 0x7f11029e

    .line 13
    invoke-virtual {p0, v0}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v0

    new-instance v1, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity$g;

    invoke-direct {v1, p0, v2, p1}, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity$g;-><init>(Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;Lcom/estrongs/android/widget/c;Landroid/widget/TextView;)V

    invoke-virtual {v2, v0, v1}, Lcom/estrongs/android/widget/c;->b(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)V

    .line 14
    invoke-virtual {v2}, Lcom/estrongs/android/widget/c;->n()V

    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->F()V

    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;Landroid/widget/TextView;)V
    .locals 0

    .line 2
    invoke-direct {p0, p1}, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->a(Landroid/widget/TextView;)V

    return-void
.end method

.method static synthetic b(Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;)Landroid/view/View;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->q:Landroid/view/View;

    return-object p0
.end method

.method static synthetic c(Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->J()V

    return-void
.end method


# virtual methods
.method protected A()Landroidx/appcompat/app/ActionBar;
    .locals 1

    .line 1
    invoke-virtual {p0}, Landroidx/appcompat/app/AppCompatActivity;->getSupportActionBar()Landroidx/appcompat/app/ActionBar;

    move-result-object v0

    return-object v0
.end method

.method public e(I)V
    .locals 3

    const/16 v0, 0xc

    if-eq p1, v0, :cond_1

    const/16 v0, 0xd

    if-eq p1, v0, :cond_0

    goto :goto_0

    .line 1
    :cond_0
    iget-object p1, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->j:Les/x00;

    invoke-virtual {p1}, Les/x00;->b()Landroid/net/wifi/WifiConfiguration;

    move-result-object p1

    if-eqz p1, :cond_2

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->k:Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const v2, 0x7f1109cd

    invoke-virtual {p0, v2}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object p1, p1, Landroid/net/wifi/WifiConfiguration;->SSID:Ljava/lang/String;

    invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0

    .line 3
    :cond_1
    iget-boolean p1, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->p:Z

    if-nez p1, :cond_2

    .line 4
    iget-object p1, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->k:Landroid/widget/TextView;

    const v0, 0x7f1109cc

    invoke-virtual {p0, v0}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_2
    :goto_0
    return-void
.end method

.method protected onActivityResult(IILandroid/content/Intent;)V
    .locals 0

    .line 1
    invoke-super {p0, p1, p2, p3}, Lcom/estrongs/android/pop/esclasses/ESActivity;->onActivityResult(IILandroid/content/Intent;)V

    const/4 p3, 0x2

    if-ne p1, p3, :cond_0

    const/4 p1, -0x1

    if-ne p2, p1, :cond_0

    .line 2
    iget-object p1, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->x:Lcom/estrongs/android/pop/l;

    invoke-virtual {p1}, Lcom/estrongs/android/pop/l;->s0()Z

    move-result p1

    .line 3
    iget-boolean p2, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->p:Z

    if-eq p2, p1, :cond_0

    .line 4
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->J()V

    :cond_0
    return-void
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 4

    .line 1
    invoke-super {p0, p1}, Lcom/estrongs/android/ui/base/HomeAsBackActivity;->onCreate(Landroid/os/Bundle;)V

    const p1, 0x7f0c0179

    .line 2
    invoke-virtual {p0, p1}, Lcom/estrongs/android/ui/base/HomeAsBackActivity;->setContentView(I)V

    const p1, 0x7f1109e7

    .line 3
    invoke-virtual {p0, p1}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object p1

    invoke-virtual {p0, p1}, Landroid/app/Activity;->setTitle(Ljava/lang/CharSequence;)V

    .line 4
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object p1

    iput-object p1, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->x:Lcom/estrongs/android/pop/l;

    .line 5
    invoke-virtual {p1}, Lcom/estrongs/android/pop/l;->W()Z

    move-result p1

    iput-boolean p1, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->z:Z

    .line 6
    invoke-virtual {p0}, Lcom/estrongs/android/pop/esclasses/ESActivity;->v()Lcom/estrongs/android/ui/theme/b;

    move-result-object p1

    const v0, 0x7f090bdd

    .line 7
    invoke-virtual {p0, v0}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroidx/appcompat/widget/Toolbar;

    .line 8
    invoke-virtual {p0, v0}, Lcom/estrongs/android/pop/esclasses/ESActivity;->setSupportActionBar(Landroidx/appcompat/widget/Toolbar;)V

    const v1, 0x7f0602eb

    .line 9
    invoke-virtual {p1, v1}, Lcom/estrongs/android/ui/theme/b;->c(I)Landroid/graphics/drawable/Drawable;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/view/ViewGroup;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 10
    invoke-virtual {p0}, Lcom/estrongs/android/ui/base/HomeAsBackActivity;->B()I

    move-result v0

    const v1, 0x7f060320

    invoke-virtual {p1, v0, v1}, Lcom/estrongs/android/ui/theme/b;->b(II)Landroid/graphics/drawable/Drawable;

    move-result-object p1

    iput-object p1, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->w:Landroid/graphics/drawable/Drawable;

    const p1, 0x7f090171

    .line 11
    invoke-virtual {p0, p1}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Lcom/estrongs/android/pop/app/filetransfer/RippleView;

    iput-object p1, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->y:Lcom/estrongs/android/pop/app/filetransfer/RippleView;

    const p1, 0x7f090cc0

    .line 12
    invoke-virtual {p0, p1}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Landroid/widget/TextView;

    iput-object p1, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->k:Landroid/widget/TextView;

    const p1, 0x7f090d1a

    .line 13
    invoke-virtual {p0, p1}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Landroid/widget/TextView;

    iput-object p1, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->l:Landroid/widget/TextView;

    const p1, 0x7f090d1f

    .line 14
    invoke-virtual {p0, p1}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Landroid/widget/TextView;

    iput-object p1, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->m:Landroid/widget/TextView;

    const p1, 0x7f090d20

    .line 15
    invoke-virtual {p0, p1}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Landroid/widget/TextView;

    .line 16
    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/4 v1, 0x0

    const/4 v2, 0x4

    const/16 v3, 0x19

    if-lt v0, v3, :cond_0

    .line 17
    invoke-virtual {p1, v1}, Landroid/widget/TextView;->setVisibility(I)V

    const v0, 0x7f110a01

    .line 18
    invoke-virtual {p1, v0}, Landroid/widget/TextView;->setText(I)V

    goto :goto_0

    .line 19
    :cond_0
    invoke-virtual {p1, v2}, Landroid/widget/TextView;->setVisibility(I)V

    .line 20
    :goto_0
    iget-object p1, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->x:Lcom/estrongs/android/pop/l;

    invoke-virtual {p1}, Lcom/estrongs/android/pop/l;->r0()Z

    move-result p1

    const v0, 0x7f09098b

    .line 21
    invoke-virtual {p0, v0}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->q:Landroid/view/View;

    if-eqz p1, :cond_1

    .line 22
    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    .line 23
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->L()V

    goto :goto_1

    .line 24
    :cond_1
    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    .line 25
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->J()V

    :goto_1
    return-void
.end method

.method protected onDestroy()V
    .locals 1

    .line 1
    invoke-super {p0}, Lcom/estrongs/android/pop/esclasses/ESActivity;->onDestroy()V

    .line 2
    iget-boolean v0, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->z:Z

    if-eqz v0, :cond_0

    .line 3
    invoke-static {}, Lcom/estrongs/android/pop/app/filetransfer/m;->a()V

    goto :goto_0

    .line 4
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->n:Lcom/estrongs/android/pop/app/filetransfer/p;

    if-eqz v0, :cond_1

    .line 5
    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/filetransfer/p;->a()V

    .line 6
    :cond_1
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->K()V

    :goto_0
    return-void
.end method

.method protected onStart()V
    .locals 2

    .line 1
    invoke-super {p0}, Lcom/estrongs/android/ui/base/HomeAsBackActivity;->onStart()V

    .line 2
    invoke-virtual {p0}, Landroidx/appcompat/app/AppCompatActivity;->getSupportActionBar()Landroidx/appcompat/app/ActionBar;

    move-result-object v0

    iget-object v1, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->w:Landroid/graphics/drawable/Drawable;

    invoke-virtual {v0, v1}, Landroidx/appcompat/app/ActionBar;->setHomeAsUpIndicator(Landroid/graphics/drawable/Drawable;)V

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->y:Lcom/estrongs/android/pop/app/filetransfer/RippleView;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/filetransfer/RippleView;->b()V

    return-void
.end method

.method protected onStop()V
    .locals 1

    .line 1
    invoke-super {p0}, Landroidx/appcompat/app/AppCompatActivity;->onStop()V

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferReceiveActivity;->y:Lcom/estrongs/android/pop/app/filetransfer/RippleView;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/filetransfer/RippleView;->c()V

    return-void
.end method
